<?php
namespace Orqlog\Yacampaign\Domain\Repository;

interface JoinRecordRepositoryInterface
{
    public function createJoinRecord(array $data):int;

    public function getJoinRecordsForCampaign(int $campaignId) :array;

    public function getJoinRecords(int $campaignId, int $userId) :array;
}